package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 档案转出对象 file_transfer_out
 *
 * @author sal
 * @date 2024-11-25
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = true)
@TableName("file_transfer_out")
public class FileTransferOut extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private String id;
    /**
     * 转至单位
     */
    private String goToUnits;
    /**
     * 转出时间
     */
    private Date goToDate;
    /**
     * 转出原因
     */
    private String goToCause;
    /**
     * 转出人员
     */
    private Long goToPerson;
    /**
     * 经办人
     */
    private Long attn;
    /**
     * 审批状态
     */
    private String approvalStatus;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 附件
     */
    private String attachments;
    private String type;

    //没有数据库
    /**
     * 转出人员
     */
    @TableField(exist = false)
    private String goToPersonName;
    /**
     * 经办人
     */
    @TableField(exist = false)
    private String attnName;
}
